<!--
 * @Author: your name
 * @Date: 2020-12-22 14:43:48
 * @LastEditTime: 2021-01-25 17:43:15
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \account\src\main\webapp\manager\jsp\user\user.jsp
-->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="../common/baseCss.jsp" %>
<style>
#usersTable_length{
	float:right;
	padding-bottom:10px;
	margin-top: -22px;
}
#usersTable_filter{
	display:none;
}
.table td{
    position: relative;
    text-align:center;
    vertical-align: top;
}
#usersTable tbody tr:nth-child(even){
    background: rgba(254,254,255,10)
}
#usersTable tbody tr:nth-child(odd){
    background:rgba(255,255,255,1);
}
</style>
<title>用户列表</title>
</head>
<body>
<!-- <nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 首页 
	<span class="c-gray en">&gt;</span> 管理员管理 
	<span class="c-gray en">&gt;</span> 用户管理 
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
		<i class="Hui-iconfont" id="refresh">&#xe68f;</i>
	</a>
</nav> -->
<div class="page-container">

	<form method="post" onsubmit="return false;" class="mb-40">
	
		<input type="hidden" id="realNameUid" name="realNameUid" value="${realNameUid}">
		<input type="hidden" id="dr" name="dr" value="1">
		<div class="text-c searchWrapper">
			<span class="select-box inputBlock" >
				<select id="rleId" class="select" size="1" name="rleId">
                    <option value="" selected>默认（全部）</option>
                    <c:forEach var="role" items="${roles}">
                        <option value="${role.rleId}">${role.rleName}</option>
                    </c:forEach>
				</select>
			</span>
			<input type="text" class="input-text inputBlock" placeholder="输入uid|昵称|姓名|手机|邮箱" id="info" name="info">			
			<input type="text" placeholder="注册起始时间" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'endCts\')||\'%y-%M-%d %H-%m-%s\'}',dateFmt: 'yyyy-MM-dd HH:mm:ss' })" id="startCts" class="input-text Wdate" style="width:180px;margin-left: 10px;margin-right: 10px;">
			-
			<input type="text" placeholder="注册截止时间" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'startCts\')}',maxDate:'%y-%M-%d %H-%m-%s',dateFmt: 'yyyy-MM-dd HH:mm:ss' })" id="endCts" class="input-text Wdate" style="width:180px;margin-left: 10px;">
			<button type="button" class="btn mysearchbtn" id="searchUser"><i class="iconfont marginRight6">&#xe665;</i>搜用户</button>
		</div>
		
	</form>
	<table class="table table-border table-bordered table-bg mytable" id="usersTable">
		<thead>
		
			<tr class="text-c tableTH">
				<th><input type="checkbox"></th>
				<th width="170">uid</th>
				<th width="200">昵称</th>
				<th width="100">真实姓名</th>
				<th width="100">手机</th>
				<th width="150">电子邮箱</th>
				<th>角色</th>
				<th width="150">加入时间</th>
				<th>操作</th>
			</tr>
		</thead>

	</table>
	
</div>
<%@ include file="../common/baseJs.jsp" %>
<script type="text/javascript" src="manager/js/plugin/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="manager/js/plugin/WdatePicker.js"></script> 
<script type="text/javascript" src="manager/js/plugin/laypage.js"></script>
<script type="text/javascript" src="manager/js/user/user.js"></script>
</body>
</html>